package cn.com.coding.system.domin;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

/**
 * 分类
 * 
 * @author mxz
 * @email codingce@gmail.com
 * @date 2022-03-05 14:01:23
 */
@Data
@TableName("product_category")
public class ProductCategoryEntity extends BaseEntity {

	private String categoryName;

	private String imgPath;
	/**
	 * 备注
	 */
	private String parentPid;
	/**
	 * 该分类下的商品数量
	 */
	private Integer productCount;
	/**
	 * 
	 */
	private Integer sort;
	/**
	 * 
	 */
	private Integer catLevel;
	/**
	 * 分类状态，0正常，1暂用
	 */
	private Integer categoryStatus;
	/**
	 * 
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date createTime;
	/**
	 * 
	 */
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date updateTime;

}
